import rentBill from "./rentBill";
import job from "./job";
const routes = [rentBill, job];
export function createRoute(app) {
  routes.forEach((route) => route(app));
}

export function beforeCreateRoute(app: {
  use: (arg0: (req: any, res: any, next: any) => void) => void;
}) {
  app.use((req, res, next) => {
    next();
  });
}
